Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SET-SELECTION( ) method
Selects (and highlights) the text in a widget between two specified character offsets.
Return type: LOGICAL Applies to: BROWSE widget (column), COMBO-BOX widget, EDITOR widget, FILL-IN widget
start-posAn integer expression that specifies the offset of the first character to be selected.
end-posAn integer expression that specifies the offset of the first character after the selection.
This method selects the text that begins at the offset
Note: This operation produces a different result depending on the platform. In Windows GUI platforms, Progress measures character offset positions between characters. On non-Windows GUI or character platforms, Progress measures character offset positions on characters.start-posand ends at the offsetend-pos. If the operation is successful, the method returns TRUE. Otherwise, it returns FALSE.In Windows, both the regular editor and the large editor support SET-SELECTION.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |